
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title>导入中……</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<?php
require_once("db.php");
$param_url=$_SERVER['QUERY_STRING'];
parse_str($param_url);

$r=new ResourceDB();
$resource=$r->SelectById($Id);
//移动文件
RemoveFile($GLOBALS['fileDistPath'].$resource->Name2,$GLOBALS['fileSourcePath'].$resource->Name1);
$r->DeleteResource($Id);
print $resource->Name1."以还原<br/>"
?>
<a href="manage.php">还原成功点击返回</a>
</body>
</html>